package com.dunqi.gpm.shunqing.home.bean;

/**
 * Created by Administrator on 2017/12/4.
 */

public class BelongType implements CharSequence {

    /**
     * categoryCode : 01
     * categoryId : 1
     * categoryName : 基础设施
     * groupCode : industry_category
     * parentCategoryCode : -1
     * remark : null
     */

    private String categoryCode;
    private Long categoryId;
    private String categoryName;
    private String groupCode;
    private String parentCategoryCode;
    private String remark;

    public String getCategoryCode() {
        return categoryCode;
    }

    public void setCategoryCode(String categoryCode) {
        this.categoryCode = categoryCode;
    }

    public Long getCategoryId() {
        return categoryId;
    }

    public void setCategoryId(Long categoryId) {
        this.categoryId = categoryId;
    }

    public String getCategoryName() {
        return categoryName;
    }

    public void setCategoryName(String categoryName) {
        this.categoryName = categoryName;
    }

    public String getGroupCode() {
        return groupCode;
    }

    public void setGroupCode(String groupCode) {
        this.groupCode = groupCode;
    }

    public String getParentCategoryCode() {
        return parentCategoryCode;
    }

    public void setParentCategoryCode(String parentCategoryCode) {
        this.parentCategoryCode = parentCategoryCode;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    @Override
    public int length() {
        return categoryName.length();
    }

    @Override
    public char charAt(int index) {
        return categoryName.charAt(index);
    }

    @Override
    public CharSequence subSequence(int start, int end) {
        return categoryName.subSequence(start, end);
    }
}
